<template>
  <div class="lm-combo">
    <comboPlugin v-for="item in params" :key="item.index" :params="item"></comboPlugin>
  </div>
</template>
<script>
import comboPlugin from './comboPlugin';
export default {
  name: 'Combo',
  components: { comboPlugin },
  props: {
    plan: {
      type: Object,
      default: () => {}
    }
  },
  data() {
    return {
      params: [{
        title: '选择套餐',
        comboType: [{ id: 1, name: 'Fit-4套餐', desc: '12121212' },
          { id: 2, name: 'United-2套餐', desc: '353535' },
          { id: 3, name: 'All-in-1套餐', desc: '6868686868' }]
      }, {
        title: '选择矫治器',
        comboType: [{ id: 1, name: '罗慕矫治器', desc: '1212罗慕1212' },
          { id: 2, name: '活动矫治器', desc: '活动矫治器活动矫治器活动矫治器活动矫治器' }]
      }]
    };
  },
  methods: {
    changeType(type) {
      this.plan.plan = type;
    }
  }
};
</script>
<style lang="scss" scoped>

</style>
